<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:h="http://java.sun.com/jsf/html" 
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">
<h:body>
	<ui:composition template="/WEB-INF/layout/layout.xhtml">
		<ui:define name="content">
			<ui:repeat var="s" value="#{remove.schedulings}">
				<h:form>
					<h:commandButton value="remove" action="#{remove.remove}">
						<f:setPropertyActionListener target="#{remove.scheduleId}" value="#{s.id}"/>
					</h:commandButton>
					id: #{s.id}, 
					agent: Agent##{s.agent.id},
					resource: Resource##{s.scheduledResourceInstance.resource.id},
					resource instance: ResourceInstance##{s.scheduledResourceInstance.id},
					interval: #{s.samplingInterval}
				</h:form>
				<hr />
			</ui:repeat>
		</ui:define>
	</ui:composition>
</h:body>
</html>